package com.zhentao.tot.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * APP用户粉丝信息对象 ap_user_fan
 * 
 * @author ruoyi
 * @date 2025-04-18
 */
public class ApUserFan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer userId;

    /** 粉丝ID */
    @Excel(name = "粉丝ID")
    private Integer fansId;

    /** 粉丝昵称 */
    @Excel(name = "粉丝昵称")
    private String fansName;

    /** 粉丝忠实度 0正常 1潜力股 2勇士 3 铁杆 4老铁 */
    @Excel(name = "粉丝忠实度 0正常 1潜力股 2勇士 3 铁杆 4老铁")
    private Integer level;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 是否可见我动态 */
    @Excel(name = "是否可见我动态")
    private Integer isDisplay;

    /** 是否屏蔽私信 */
    @Excel(name = "是否屏蔽私信")
    private Integer isShieldLetter;

    /** 是否屏蔽评论 */
    @Excel(name = "是否屏蔽评论")
    private Integer isShieldComment;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }

    public void setFansId(Integer fansId) 
    {
        this.fansId = fansId;
    }

    public Integer getFansId() 
    {
        return fansId;
    }

    public void setFansName(String fansName) 
    {
        this.fansName = fansName;
    }

    public String getFansName() 
    {
        return fansName;
    }

    public void setLevel(Integer level) 
    {
        this.level = level;
    }

    public Integer getLevel() 
    {
        return level;
    }

    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    public void setIsDisplay(Integer isDisplay) 
    {
        this.isDisplay = isDisplay;
    }

    public Integer getIsDisplay() 
    {
        return isDisplay;
    }

    public void setIsShieldLetter(Integer isShieldLetter) 
    {
        this.isShieldLetter = isShieldLetter;
    }

    public Integer getIsShieldLetter() 
    {
        return isShieldLetter;
    }

    public void setIsShieldComment(Integer isShieldComment) 
    {
        this.isShieldComment = isShieldComment;
    }

    public Integer getIsShieldComment() 
    {
        return isShieldComment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("fansId", getFansId())
            .append("fansName", getFansName())
            .append("level", getLevel())
            .append("createdTime", getCreatedTime())
            .append("isDisplay", getIsDisplay())
            .append("isShieldLetter", getIsShieldLetter())
            .append("isShieldComment", getIsShieldComment())
            .toString();
    }
}
